isSameDocument

Returns true if the navigation will be performed in the scope of the same document.